home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Microsoft Windows 95 Recource Kit Utilities
/
Recouce Kit Utilities.iso
/
rkutil
/
policies.inf
< prev
next >
Wrap
INI File
|
1995-10-12
|
4KB
|
103 lines
; policies.INF
; This is the Setup information file to install the animated cursor editor
; Copyright (c) 1993-1995 Microsoft Corporation
[version]
LayoutFile=rklayout.inf
signature="$CHICAGO$"
SetupClass=BASE
[DestinationDirs]
Register.Copy = 17 ; LDID_INF
rklayout.copy = 17 ; LDID_INF
policiesCopyFiles = 24,%OEM_PROGRAMF%\%OEM_RESOURCE%\%policies% ; LDID_APPS\Program Files\Resource Kit
[Optional Components]
policies
[policies]
OptionDesc = %policies_Desc%
Tip = %policies_TIP%
CopyFiles = policiesCopyFiles, Register.Copy, rklayout.copy
AddReg = policiesReg, policies.install.reg, Register.AddReg
InstallType = 0 ;Manual only
IconIndex = 11 ;Default (diamond) mini-icon for dialogs
Uninstall = policies_remove
UpdateInis = policies.Inis
[policies_remove]
DelFiles = policiesCopyFiles, Register.Copy
DelReg = UnRegister.DelReg
UpdateInis = policies.Rem.Inis
[rklayout.copy]
rklayout.inf
[Register.Copy]
policies.inf
[policiesCopyFiles]
policies.txt
maximum.pol
samp1.adm
standard.pol
[policies.Inis]
setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%" ;creates folder
setup.ini, group11,, """%shortcut_Desc%"", %24%\%OEM_PROGRAMF%\%OEM_RESOURCE%\%policies%,,, policies" ;creates link
[policies.Rem.Inis]
setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%" ;creates folder
setup.ini, group11,, """%shortcut_Desc%""" ;deletes link
[Register.AddReg]
;Create entries for Maint Mode Setup
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\policies,DisplayName,,%uninstall_Desc%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\policies,UninstallString,,"RunDll setupx.dll,InstallHinfSection policies_Remove 4 policies.INF"
[UnRegister.DelReg]
;Remove entries for Maint Mode Setup
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\policies
[policiesReg]
; create the long-name for "Program Files"
; Note that when you rename a long name, VFAT changes the short name from
; foobar~1 to foobar~2. To avoid this, we introduce a work around in the form of
; an intermediate rename
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,,,%24%
;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%OLD_PROGRAMF%,,"%Old_Program_Files%" ; review - leave in for M8
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%PROGRAMF%,,!$!$!$!$.$!$
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,!$!$!$!$.$!$,,"%Program_Files%,1"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,,,"%24%\%PROGRAMF%"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,%RESOURCE%,,!$!$!$!$.$!$
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,!$!$!$!$.$!$,,"%ResourceKit%,1"
[Strings]
RKTOOLS_DESC = "Resource Kit"
policies = "Policies"
policies_Desc = "Sample System Policy Files"
policies_TIP = "Sample system policy files and sample policy template."
DSK = "Windows 95 Resource Kit"
shortcut_Desc = "Sample System Policy Files"
uninstall_Desc = "Sample System Policy Files"
; Directory names - note that that short versions must match the truncated
; 8 char names for the long versions, or else there will be problems.
; also need to put the short versions in the [DestinationDirs] section above
; Used by wordpad, hypertrm, backup, paint, & MSN
Program_Files = "Programme" ; changed for the German version of Windows 95
PROGRAMF = "Progra~1" ; first 6 chars of Program_Files, + "~1"
OEM_PROGRAMF = "Progra~1" ; first 6 chars of Program_Files, + "~1" - in OEM codepage (not Ansi)
ResourceKit = "Resource Kit"
RESOURCE = "Resour~1" ; first 6 chars of Resource Kit, + "~1"
OEM_RESOURCE = "Resour~1" ; first 6 chars of Resource Kit, + "~1" - in OEM codepage (not Ansi)